<?php

use think\facade\Route;

//Route::group(function () {});
Route::rule('wx/user$', 'home/wx.WxLogin/user');//微信用户信息
Route::rule('wx/token$', 'home/wx.WxLogin/wx_token');//微信token验签
Route::rule('wx/app$', 'home/wx.WxLogin/wx_appid'); //微信appid
Route::rule('wx/access_token$', 'home/wx.WxLogin/access_token');//微信登陆

Route::rule('login/index$', 'home/login.Login/index');//登陆
Route::rule('login/register$', 'home/login.Login/register');//注册
Route::rule('login/out$', 'home/login.Login/sign_out');//退出
Route::rule('login/forget$', 'home/login.UpdatePwd/forget');//忘记密码
Route::rule('login/change_pwd$', 'home/login.UpdatePwd/change_pwd');//修改密码
Route::rule('qrcode/index$', 'home/qrcode.code/qrcode');//二维码生成

Route::rule('image/index$', 'home/qrcode.code/imageIndex');//二维码生成

Route::rule('user/index$', 'home/user.user/index');//用户个人信息
Route::rule('user/config$', 'home/user.user/get_config');//配置文件

Route::rule('goods/alone$', 'home/goods.goods/alone_video_purchase');//视频当前购买
Route::rule('goods/purchase$', 'home/goods.goods/purchase');//套餐购买
Route::rule('goods/recharge$', 'home/goods.goods/recharge');//充值购买
Route::rule('goods/level$', 'home/goods.goods/level');//套餐信息
Route::rule('goods/video$', 'home/goods.goods/video');//查询指定视频播放地址
Route::rule('goods/list$', 'home/goods.goods/goods_list');//查询指定视频列表
Route::rule('goods/alone_list$', 'home/goods.goods/alone_list');//查询单视频购买的列表
Route::rule('goods/auth$', 'home/goods.goods/goods_auth_list');//查询视频列表 不购买也可看的视频
Route::rule('goods/video_type$', 'home/goods.goods/video_type_list');//查询视频分类




